package com.wyfan.scaffold.common.config.db;

import lombok.Data;

/**
 * mysql 配置属性
 */
@Data
class MysqlProperties {

    // datasource
    private String url;
    private String username;
    private String password;
    private String driverClassName;


    // mybatis
    /**
     * mapper xml 路径
     * demo classpath:mapper/*.xml
     */
    private String mybatisMapperLocations = "";

    /**
     * 数据库字段下划线转驼峰
     */
    private boolean mapUnderscoreToCamelCase = true;

}
